../common/testlib.py